<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Percepio Trace Recorder: include/trcEntryTable.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Percepio Trace Recorder<span id="projectnumber">&#160;v4.8.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('trcEntryTable_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">trcEntryTable.h</div></div>
</div><!--header-->
<div class="contents">
<a href="trcEntryTable_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">* Percepio Trace Recorder for Tracealyzer v4.8.0</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">* Copyright 2023 Percepio AB</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">* www.percepio.com</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">*</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">* SPDX-License-Identifier: Apache-2.0</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">*/</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#ifndef TRC_ENTRY_TABLE_H</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#define TRC_ENTRY_TABLE_H</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#if (TRC_USE_TRACEALYZER_RECORDER == 1)</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#if (TRC_CFG_RECORDER_MODE == TRC_RECORDER_MODE_STREAMING)</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#include &lt;trcTypes.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#define TRC_ENTRY_CREATE_WITH_ADDRESS(_pvAddress, _pxEntryHandle) (xTraceEntryCreate(_pxEntryHandle) == TRC_SUCCESS ? (((TraceEntry_t*)*(_pxEntryHandle))-&gt;pvAddress = (_pvAddress), TRC_SUCCESS) : TRC_FAIL)</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#define TRC_ENTRY_SET_STATE(xEntryHandle, uxStateIndex, uxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))-&gt;xStates[uxStateIndex] = (uxState), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#define TRC_ENTRY_SET_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))-&gt;uiOptions |= (uiMask), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#define TRC_ENTRY_CLEAR_OPTIONS(xEntryHandle, uiMask) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(((TraceEntry_t*)(xEntryHandle))-&gt;uiOptions &amp;= ~(uiMask), TRC_SUCCESS)</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#define TRC_ENTRY_GET_ADDRESS(xEntryHandle, ppvAddress) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(ppvAddress) = ((TraceEntry_t*)(xEntryHandle))-&gt;pvAddress, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#define TRC_ENTRY_GET_SYMBOL(xEntryHandle, pszSymbol) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(pszSymbol) = ((TraceEntry_t*)(xEntryHandle))-&gt;szSymbol, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor">#define TRC_ENTRY_GET_STATE(xEntryHandle, uxStateIndex, puxState) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puxState) = ((TraceEntry_t*)(xEntryHandle))-&gt;xStates[uxStateIndex], TRC_SUCCESS)</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor">#define TRC_ENTRY_GET_STATE_RETURN(xEntryHandle, uxStateIndex) (((TraceEntry_t*)(xEntryHandle))-&gt;xStates[uxStateIndex])</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="preprocessor">#define TRC_ENTRY_GET_OPTIONS(xEntryHandle, puiOptions) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(puiOptions) = ((TraceEntry_t*)(xEntryHandle))-&gt;uiOptions, TRC_SUCCESS)</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor">#define TRC_ENTRY_TABLE_STATE_COUNT (3UL)</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="preprocessor">#define TRC_ENTRY_TABLE_SYMBOL_LENGTH  ((uint32_t)(TRC_CFG_ENTRY_SYMBOL_MAX_LENGTH))</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="comment">/* TRC_ENTRY_TABLE_SLOT_SYMBOL_SIZE has to be aligned to TraceUnsignedBaseType_t but with a uint32_t padding to ensure that TraceEntry_t size is aligned (uiOptions is uint32_t) */</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor">#define TRC_ENTRY_TABLE_SLOT_SYMBOL_SIZE (((((sizeof(char) * (uint32_t)(TRC_ENTRY_TABLE_SYMBOL_LENGTH) - sizeof(uint32_t)) + (sizeof(TraceUnsignedBaseType_t) - 1UL)) / sizeof(TraceUnsignedBaseType_t)) * sizeof(TraceUnsignedBaseType_t)) + sizeof(uint32_t))</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="preprocessor">#if (TRC_CFG_ENTRY_SLOTS &gt; 256UL)</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="keyword">typedef</span> uint16_t TraceEntryIndex_t;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#define TRC_ENTRY_INDEX_ALIGNMENT_MULTIPLE (4) </span><span class="comment">/* Must align to 64-bit (sizeof(uint64_t) / sizeof(uint16_t)) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="keyword">typedef</span> uint8_t TraceEntryIndex_t;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="preprocessor">#define TRC_ENTRY_INDEX_ALIGNMENT_MULTIPLE (8)  </span><span class="comment">/* Must align to 64-bit (sizeof(uint64_t) / sizeof(uint8_t)) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span><span class="preprocessor">#define TRC_ENTRY_TABLE_SLOTS ((((TRC_CFG_ENTRY_SLOTS) + (TRC_ENTRY_INDEX_ALIGNMENT_MULTIPLE) - 1) / TRC_ENTRY_INDEX_ALIGNMENT_MULTIPLE) * TRC_ENTRY_INDEX_ALIGNMENT_MULTIPLE)</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span><span class="keyword">typedef</span> <span class="keyword">struct </span>EntryIndexTable  <span class="comment">/* Aligned because TRC_ENTRY_TABLE_SLOTS is always a multiple that aligns to 64-bit */</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>{</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    TraceEntryIndex_t axFreeIndexes[TRC_ENTRY_TABLE_SLOTS]; <span class="comment">/* slot count and size is aligned to 64-bit */</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>    uint32_t uiFreeIndexCount;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>    uint32_t reserved;          <span class="comment">/* alignment */</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>} TraceEntryIndexTable_t;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="structTraceEntry.html">   68</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structTraceEntry.html">TraceEntry</a>   <span class="comment">/* Aligned because TRC_ENTRY_TABLE_SLOT_SYMBOL_SIZE will align together with uiOptions */</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>{</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    <span class="keywordtype">void</span>* pvAddress;                                                </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    TraceUnsignedBaseType_t xStates[TRC_ENTRY_TABLE_STATE_COUNT];   </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    uint32_t uiOptions;                                             </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keywordtype">char</span> szSymbol[TRC_ENTRY_TABLE_SLOT_SYMBOL_SIZE];                </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="group__trace__entry__table__apis.html#gacb13b5504dd24ed818e08176ae443ea9">   74</a></span>} <a class="code hl_typedef" href="group__trace__entry__table__apis.html#gacb13b5504dd24ed818e08176ae443ea9">TraceEntry_t</a>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="keyword">typedef</span> <span class="keyword">struct </span>TraceEntryTable  <span class="comment">/* Aligned */</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>{</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    TraceUnsignedBaseType_t uxSlots;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    TraceUnsignedBaseType_t uxEntrySymbolLength;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    TraceUnsignedBaseType_t uxEntryStateCount;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    <a class="code hl_struct" href="structTraceEntry.html">TraceEntry_t</a> axEntries[TRC_ENTRY_TABLE_SLOTS];</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>} TraceEntryTable_t;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>traceResult xTraceEntryIndexTableInitialize(TraceEntryIndexTable_t* <span class="keyword">const</span> pxBuffer);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>traceResult xTraceEntryTableInitialize(TraceEntryTable_t* <span class="keyword">const</span> pxBuffer);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#ga2815314154dd735c7e422ced74de1666">xTraceEntryCreate</a>(TraceEntryHandle_t *pxEntryHandle);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#gae1a1f6bc7d62a5325f0c96dde57b38c2">xTraceEntryDelete</a>(TraceEntryHandle_t xEntryHandle);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#ga5d6b6b5cb0e383560f4412860ad22e97">xTraceEntryFind</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* <span class="keyword">const</span> pvAddress, TraceEntryHandle_t* pxEntryHandle);</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#gacd10c5abb485592ecbfa5e6fd9837827">xTraceEntryGetCount</a>(uint32_t* puiCount);</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#gaefb9893f3c2841d1ce93b8686e87bc65">xTraceEntryGetAtIndex</a>(uint32_t index, TraceEntryHandle_t* pxEntryHandle);</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>traceResult <a class="code hl_function" href="group__trace__entry__table__apis.html#gabbc4a177d8effc6ba6ca4018790dce8d">xTraceEntrySetSymbol</a>(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, <span class="keyword">const</span> <span class="keywordtype">char</span>* szSymbol, uint32_t uiLength);</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span><span class="preprocessor">#if ((TRC_CFG_USE_TRACE_ASSERT) == 1)</span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span> </div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>traceResult xTraceEntryCreateWithAddress(<span class="keywordtype">void</span>* <span class="keyword">const</span> pvAddress, TraceEntryHandle_t* pxEntryHandle);</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>traceResult xTraceEntrySetState(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, TraceUnsignedBaseType_t uxStateIndex, TraceUnsignedBaseType_t uxState);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span>traceResult xTraceEntrySetOptions(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, uint32_t uiMask);</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>traceResult xTraceEntryClearOptions(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, uint32_t uiMask);</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span>traceResult xTraceEntryGetAddress(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, <span class="keywordtype">void</span> **ppvAddress);</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span> </div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span>traceResult xTraceEntryGetSymbol(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, <span class="keyword">const</span> <span class="keywordtype">char</span>** pszSymbol);</div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span> </div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span>traceResult xTraceEntryGetState(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, TraceUnsignedBaseType_t uxStateIndex, TraceUnsignedBaseType_t *puxState);</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span> </div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span>TraceUnsignedBaseType_t xTraceEntryGetStateReturn(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, TraceUnsignedBaseType_t uxStateIndex);</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno">  264</span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span>traceResult xTraceEntryGetOptions(<span class="keyword">const</span> TraceEntryHandle_t xEntryHandle, uint32_t *puiOptions);</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span> </div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span> </div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span><span class="preprocessor">#define xTraceEntryCreateWithAddress TRC_ENTRY_CREATE_WITH_ADDRESS</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span> </div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span><span class="preprocessor">#define xTraceEntrySetState TRC_ENTRY_SET_STATE</span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span><span class="preprocessor">#define xTraceEntrySetOptions TRC_ENTRY_SET_OPTIONS</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="preprocessor">#define xTraceEntryClearOptions TRC_ENTRY_CLEAR_OPTIONS</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span> </div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span><span class="preprocessor">#define xTraceEntryGetAddress TRC_ENTRY_GET_ADDRESS</span></div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span><span class="preprocessor">#define xTraceEntryGetSymbol TRC_ENTRY_GET_SYMBOL</span></div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span><span class="preprocessor">#define xTraceEntryGetState TRC_ENTRY_GET_STATE</span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span><span class="preprocessor">#define xTraceEntryGetStateReturn TRC_ENTRY_GET_STATE_RETURN</span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno">  288</span><span class="preprocessor">#define xTraceEntryGetOptions TRC_ENTRY_GET_OPTIONS</span></div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno">  290</span><span class="preprocessor">#endif </span><span class="comment">/* ((TRC_CFG_USE_TRACE_ASSERT) == 1) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span> </div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span>}</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span> </div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span><span class="preprocessor">#endif </span><span class="comment">/* (TRC_CFG_RECORDER_MODE == TRC_RECORDER_MODE_STREAMING) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span> </div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span><span class="preprocessor">#endif </span><span class="comment">/* (TRC_USE_TRACEALYZER_RECORDER == 1) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span> </div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span><span class="preprocessor">#endif </span><span class="comment">/* TRC_ENTRY_TABLE_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_ga2815314154dd735c7e422ced74de1666"><div class="ttname"><a href="group__trace__entry__table__apis.html#ga2815314154dd735c7e422ced74de1666">xTraceEntryCreate</a></div><div class="ttdeci">traceResult xTraceEntryCreate(TraceEntryHandle_t *pxEntryHandle)</div><div class="ttdoc">Creates trace entry.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:78</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_ga5d6b6b5cb0e383560f4412860ad22e97"><div class="ttname"><a href="group__trace__entry__table__apis.html#ga5d6b6b5cb0e383560f4412860ad22e97">xTraceEntryFind</a></div><div class="ttdeci">traceResult xTraceEntryFind(const void *const pvAddress, TraceEntryHandle_t *pxEntryHandle)</div><div class="ttdoc">Finds trace entry mapped to object address.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:166</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_gabbc4a177d8effc6ba6ca4018790dce8d"><div class="ttname"><a href="group__trace__entry__table__apis.html#gabbc4a177d8effc6ba6ca4018790dce8d">xTraceEntrySetSymbol</a></div><div class="ttdeci">traceResult xTraceEntrySetSymbol(const TraceEntryHandle_t xEntryHandle, const char *szSymbol, uint32_t uiLength)</div><div class="ttdoc">Sets symbol for entry.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:195</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_gacb13b5504dd24ed818e08176ae443ea9"><div class="ttname"><a href="group__trace__entry__table__apis.html#gacb13b5504dd24ed818e08176ae443ea9">TraceEntry_t</a></div><div class="ttdeci">struct TraceEntry TraceEntry_t</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_gacd10c5abb485592ecbfa5e6fd9837827"><div class="ttname"><a href="group__trace__entry__table__apis.html#gacd10c5abb485592ecbfa5e6fd9837827">xTraceEntryGetCount</a></div><div class="ttdeci">traceResult xTraceEntryGetCount(uint32_t *puiCount)</div><div class="ttdoc">Gets the number of entries in the trace entry table.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:235</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_gae1a1f6bc7d62a5325f0c96dde57b38c2"><div class="ttname"><a href="group__trace__entry__table__apis.html#gae1a1f6bc7d62a5325f0c96dde57b38c2">xTraceEntryDelete</a></div><div class="ttdeci">traceResult xTraceEntryDelete(TraceEntryHandle_t xEntryHandle)</div><div class="ttdoc">Deletes trace entry.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:125</div></div>
<div class="ttc" id="agroup__trace__entry__table__apis_html_gaefb9893f3c2841d1ce93b8686e87bc65"><div class="ttname"><a href="group__trace__entry__table__apis.html#gaefb9893f3c2841d1ce93b8686e87bc65">xTraceEntryGetAtIndex</a></div><div class="ttdeci">traceResult xTraceEntryGetAtIndex(uint32_t index, TraceEntryHandle_t *pxEntryHandle)</div><div class="ttdoc">Gets trace table entry at index.</div><div class="ttdef"><b>Definition:</b> trcEntryTable.c:248</div></div>
<div class="ttc" id="astructTraceEntry_html"><div class="ttname"><a href="structTraceEntry.html">TraceEntry</a></div><div class="ttdef"><b>Definition:</b> trcEntryTable.h:69</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="trcEntryTable_8h.html">trcEntryTable.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
